package com.carbon.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 仓库(Ware)表实体类
 *
 * @author WangFK
 * @since 2023-08-21 13:19:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Ware对象", description = "仓库")
@TableName("ware")
public class Ware implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 仓库名
     */
    private String wareName;

    /**
     * 父id
     */
    private Integer parendId;

    /**
     * 0 未删除 1删除
     */
    @ApiModelProperty(value = "0 未删除 1删除")
    private String delFlag;

    /**
     * 0 正常 1 不正常
     */
    @ApiModelProperty(value = "0 正常 1 不正常")
    private String status;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    private String level;

    private Integer sort;

}

